﻿using PetaPoco;
using System;

namespace BrnMall.Manager.Domain.Log
{
    [TableName("bma_logs")]
    [PrimaryKey("logid")]
    public class Logs
    {
        /// <summary>
        /// 会员ID, 可空
        /// </summary>
        public int Uid { get; set; }
        /// <summary>
        /// 店铺ID，可空
        /// </summary>
        public int StoreId { get; set; }
        /// <summary>
        /// 日志类型 1 修改底部信息
        /// </summary>
        public int DataType { get; set; }
        /// <summary>
        /// 日志内容
        /// </summary>
        public string Details { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        public Logs()
        {
            Uid = StoreId = 0;
            CreateTime = new DateTime();
        }
    }
}